package com.chenjun.core.service.sys;

import java.util.List;
import java.util.Map;

import com.chenjun.common.bean.Pagination;
import com.chenjun.common.model.DataGridModel;
import com.chenjun.core.dao.generator.entity.SysUserRole;
import com.chenjun.core.vo.sys.UserRoleBean;

public interface SysUserRoleService {
	public SysUserRole get(String id);

	public int create(SysUserRole record);

	public int delete(String id);
	
	public int deleteByCondition(Map<String,String> params);

	public int update(SysUserRole record);

	public int createOrUpdate(SysUserRole record);

	public int doCountByCondition(DataGridModel param);

	public List<SysUserRole> doListByCondition(DataGridModel param);
	
	public List<UserRoleBean> dofListByCondition(DataGridModel param);

	public Pagination doPagination(DataGridModel param);
	
	public Pagination doUserRolePagination(DataGridModel param) ;

}
